package com.chinasoft.yuan;

import com.chinasoft.main.TrueWord;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

public class YaoTrueWord implements TrueWord {

    List<String> wordList = new ArrayList<String>();

    public YaoTrueWord() {
        wordList.add("全民制作人们大家好 ！");
        wordList.add("喜欢唱跳rap篮球 ！");
        wordList.add("rap！");
        wordList.add("篮球！");
    }


    public String getName() {
        return "姚同学";
    }

    public String getWord() {
        Random random = new Random();
        int index = random.nextInt(wordList.size());
        return this.wordList.get(index);
    }
}
